<!DOCTYPE html>
<html>
<head>
<title>{:C('SITE_NAME')}</title>
<meta name="keywords" content="{$seo_keywords}" />
<meta name="description" content="{$seo_description}">

<tc_include file="Public:head" />
<link href="__TMPL__Public/assets/css/base.css" rel="stylesheet">
<link href="__TMPL__Public/assets/css/paper.css" rel="stylesheet">
<link href="__TMPL__Public/assets/css/my_exam.css" rel="stylesheet">
<script src="__TMPL__Public/front/js/jquery.min.js"></script>

<style type="text/css">

</style>
</head>
<body class="boxed">
	<div class="body">
		<!-- 通用头部 -->
		<div id="top">
			<tc_include file="Public:front_nav" />
		</div>
		<div class="shade-bg">
			<img src="__TMPL__Public/front/img/sha.png" class="slidershadow"
				alt="">
		</div>
		<div class="container">
			<div class="row">
				<div class="main_content clearfix">
					<div class="col-sm-2 pad-left" >
						<php>$menu_index='0';</php>
						<tc_include file="Public:user_menu" />
					</div>
					<div class="col-sm-10 pad-right">
						<div class="personal-home">
							<div class="user-box f-mb20">
								<div class="fl">
									<div class="pic">
										<a href="{:U('user/center/index')}"><img
											src="{:sp_get_image_url($user['avatar'],'!avatar')}"
											onerror="this.src = '__PUBLIC__/images/Avatar.png'">
											<div class="pic-text">
												<div></div>
												<span>账户管理</span>
											</div> </a>
									</div>
									<div class="txt">
										<p class="user-name">
											<em>{$user['user_nicename']}</em>，欢迎您！
										</p>
										<!-- <p class="user-info">
										<span>等级：</span>{:sp_get_user_level_name($user['user_level'])}
									</p>	 -->
										<p class="user-info">
											<span>工种：</span>{$user['work_type']}
										</p>
										<!-- <p class="user-info">
										<span>账户安全：</span> <a href="/uc/user?from=mobile"
											class="phone "></a> <a href="/uc/user?from=email"
											class="mailbox this"></a>
									</p> -->
									</div>
								</div>
								<div class="fr">
									<!-- <div class="box1">
									<a href="/uc/integral"><b class="ico-jf"></b><span>积分<i>20</i></span></a>
									<a href="/uc/message"><b class="ico-news"></b><span>消息<i>0未读</i></span></a>
								</div>
								<div class="box2">
									
								<ul class="pracl-falnum">
							<li class="fa-color"><a href="/tiku/favorites/527"> <em
									class="num">0</em>题
									<p>我的收藏</p>
							</a></li>
							<li class="fa-color"><a
								href="/tiku/errorExam/527?zYid=0&amp;kMid=0"> <em
									class="num">0</em>题
									<p>我的错题</p>
							</a></li>
							<li class="fa-color"><a href="/tiku/history/527"> <em
									class="num">0</em>题
									<p>做题记录</p>
							</a></li>
						</ul>
						
								</div> -->
								</div>
							</div>
							<div class="mid-l bor">
								<div class="mid-l-con">
									<ul>
										<li class="t-yl"><a href="{:U('Paper/exam_list')}"> <i></i>
												<p>在线考试</p>
										</a></li>
										<li class="t-mn"><a href="{:U('Paper/paper_list')}"> <i></i>
												<p>模拟试卷</p>
										</a></li>
										<li class="t-zt"><a href="{:U('stage/exercise_list')}">
												<i></i>
												<p>闯关练兵</p>
										</a></li>
										<li class="t-jf"><a href="{:U('user/err_list')}"> <i></i>
												<p>错题本</p>
										</a></li>

									</ul>
								</div>
							</div>
							<php> $exer=sp_get_last_exercise(); </php>
							<if condition="$exer">
							<div class="record-box">
								<div class="hd">
									<span class="title">我的题库</span>
								</div>
								<div class="bd">
									<div class="box my-record clear">
										<ul class="myre-list myre-list-tk">
											<li class="clearfix"><i class="ico-three ico-retk"></i>
												<span class="dal-but"><a target="_parent"
													href="{:U('user/err_list')}" class="re-go"> 进入我的题库 </a></span>
												<div class="re-con">
													<span>上次已做至：</span>
													<h3>
														<a target="_parent" href="{:U('stage/exercise_list')}">{:sp_get_user_level_name($exer['level_no'])}
															闯关练习</a>
													</h3>
													<p>
														<span>做题时间：{$exer['start_time']|strtotime|date="Y-m-d",###}</span>
													</p>
												</div></li>
										</ul>
									</div>
								</div>
							</div>
							</if>
						</div>
					</div>
				</div>			
			</div>
		</div>
		<tc_include file="Public:footer" />
	</div>

	<!-- JavaScript -->
	<tc_include file="Public:scripts" />
</body>
</html>
